package com.wy.model;

import java.util.Date;

import org.nutz.dao.entity.annotation.EL;
import org.nutz.dao.entity.annotation.Name;
import org.nutz.dao.entity.annotation.Prev;
import org.nutz.dao.entity.annotation.Table;

import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@ApiModel("合同")
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Table("ti_contract")
public class Factory {

	@Name
	@Prev(els = @EL("uuid"))
	private String id; // 将主键都映射成id
	private String fullName;
	private String factoryName;
	private String contacts;
	private String phone;
	private String mobile;
	private String fax;
	private String cnote;
	private String inspector;
	private Integer orderNo;
	private String state;
	private String createBy;
	private String createDept;
	private Date createTime;
}